package com.dinggao.crossgo.module.roadbook.data;

public class RoadBookAddBean {

    /**
     * code : 1
     * message : 保存成功
     * data : {"id":5,"title":"测试-路书2","content":"测试路书-content2","createUserId":1,"motorcadeId":1,"teamId":1,"status":0,"location":"山东济南","createTime":1532955142000,"updateTime":1532956299000,"visitation":null,"deleted":0}
     */

    private int code;
    private String message;
    private DataEntity data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public static class DataEntity {
        /**
         * id : 5
         * title : 测试-路书2
         * content : 测试路书-content2
         * createUserId : 1
         * motorcadeId : 1
         * teamId : 1
         * status : 0
         * location : 山东济南
         * createTime : 1532955142000
         * updateTime : 1532956299000
         * visitation : null
         * deleted : 0
         */

        private int id;
        private String title;
        private String content;
        private int createUserId;
        private int motorcadeId;
        private int teamId;
        private int status;
        private String location;
        private long createTime;
        private long updateTime;
        private Object visitation;
        private int deleted;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getCreateUserId() {
            return createUserId;
        }

        public void setCreateUserId(int createUserId) {
            this.createUserId = createUserId;
        }

        public int getMotorcadeId() {
            return motorcadeId;
        }

        public void setMotorcadeId(int motorcadeId) {
            this.motorcadeId = motorcadeId;
        }

        public int getTeamId() {
            return teamId;
        }

        public void setTeamId(int teamId) {
            this.teamId = teamId;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getLocation() {
            return location;
        }

        public void setLocation(String location) {
            this.location = location;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public long getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(long updateTime) {
            this.updateTime = updateTime;
        }

        public Object getVisitation() {
            return visitation;
        }

        public void setVisitation(Object visitation) {
            this.visitation = visitation;
        }

        public int getDeleted() {
            return deleted;
        }

        public void setDeleted(int deleted) {
            this.deleted = deleted;
        }
    }
}
